package com.ymttest.database.model;

import java.util.Date;

import com.ymatou.common.lang.CipherUtil;
import com.ymttest.business.service.JUserCallService;

public class DGUserInfo {
	private Integer shopId;
	
	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	private Boolean isSetPwd;
	
    public Boolean getIsSetPwd() {
		return isSetPwd;
	}

	public void setIsSetPwd(Boolean isSetPwd) {
		this.isSetPwd = isSetPwd;
	}

	/**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.UserId
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private Integer userId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.LoginId
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private String loginId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.Mobile
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private String mobile;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.MobileAreaCode
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private String mobileAreaCode;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.LoginPwd
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private String loginPwd;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.UserType
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private Integer userType;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.UserGender
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private Integer userGender;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.UserStatus
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private Integer userStatus;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.Nickname
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private String nickname;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.LogoUrl
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private String logoUrl;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.BelongSellerId
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private Integer belongSellerId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.IsCs
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private Boolean isCs;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.LastLoginTime
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private Date lastLoginTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.CreateTime
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private Date createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column userinfo.UpdateTime
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    private Date updateTime;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.UserId
     *
     * @return the value of userinfo.UserId
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.UserId
     *
     * @param userId the value for userinfo.UserId
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.LoginId
     *
     * @return the value of userinfo.LoginId
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public String getLoginId() {
        return loginId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.LoginId
     *
     * @param loginId the value for userinfo.LoginId
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setLoginId(String loginId) {
        this.loginId = loginId == null ? null : loginId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.Mobile
     *
     * @return the value of userinfo.Mobile
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public String getMobile() {
    	String enmobile=null;
		try {
			enmobile = CipherUtil.decryptAES(JUserCallService.EncryptKey, this.mobile);
		} catch (Exception e) {
		}
        return enmobile;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.Mobile
     *
     * @param mobile the value for userinfo.Mobile
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.MobileAreaCode
     *
     * @return the value of userinfo.MobileAreaCode
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public String getMobileAreaCode() {
        return mobileAreaCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.MobileAreaCode
     *
     * @param mobileAreaCode the value for userinfo.MobileAreaCode
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setMobileAreaCode(String mobileAreaCode) {
        this.mobileAreaCode = mobileAreaCode == null ? null : mobileAreaCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.LoginPwd
     *
     * @return the value of userinfo.LoginPwd
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public String getLoginPwd() {
        return loginPwd;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.LoginPwd
     *
     * @param loginPwd the value for userinfo.LoginPwd
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd == null ? null : loginPwd.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.UserType
     *
     * @return the value of userinfo.UserType
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public Integer getUserType() {
        return userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.UserType
     *
     * @param userType the value for userinfo.UserType
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.UserGender
     *
     * @return the value of userinfo.UserGender
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public Integer getUserGender() {
        return userGender;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.UserGender
     *
     * @param userGender the value for userinfo.UserGender
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setUserGender(Integer userGender) {
        this.userGender = userGender;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.UserStatus
     *
     * @return the value of userinfo.UserStatus
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019<br/>
     * Inactive-1	未激活<br/>
		Normal0	正常<br/>
		Locked1	锁定<br/>
		Close2	注销<br/>
     */
    public Integer getUserStatus() {
        return userStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.UserStatus
     *
     * @param userStatus the value for userinfo.UserStatus
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.Nickname
     *
     * @return the value of userinfo.Nickname
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.Nickname
     *
     * @param nickname the value for userinfo.Nickname
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.LogoUrl
     *
     * @return the value of userinfo.LogoUrl
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public String getLogoUrl() {
        return logoUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.LogoUrl
     *
     * @param logoUrl the value for userinfo.LogoUrl
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl == null ? null : logoUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.BelongSellerId
     *
     * @return the value of userinfo.BelongSellerId
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public Integer getBelongSellerId() {
        return belongSellerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.BelongSellerId
     *
     * @param belongSellerId the value for userinfo.BelongSellerId
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setBelongSellerId(Integer belongSellerId) {
        this.belongSellerId = belongSellerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.IsCs
     *
     * @return the value of userinfo.IsCs
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public Boolean getIsCs() {
        return isCs;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.IsCs
     *
     * @param isCs the value for userinfo.IsCs
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setIsCs(Boolean isCs) {
        this.isCs = isCs;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.LastLoginTime
     *
     * @return the value of userinfo.LastLoginTime
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.LastLoginTime
     *
     * @param lastLoginTime the value for userinfo.LastLoginTime
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.CreateTime
     *
     * @return the value of userinfo.CreateTime
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.CreateTime
     *
     * @param createTime the value for userinfo.CreateTime
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column userinfo.UpdateTime
     *
     * @return the value of userinfo.UpdateTime
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column userinfo.UpdateTime
     *
     * @param updateTime the value for userinfo.UpdateTime
     *
     * @mbggenerated Fri Mar 08 16:01:56 CST 2019
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}